package cn.volunteer.points.system.service;

import cn.volunteer.points.system.pojo.entity.Activity;
import cn.volunteer.points.system.pojo.entity.UserActivity;
import cn.volunteer.points.system.pojo.qo.UserActivityQO;
import cn.volunteer.points.system.pojo.vo.ActivityVO;

import java.util.List;
import java.util.Map;

/**
 * @description: 活动业务层接口
 * @author: chenxiaofeng
 * @create: 创建时间：2021-04-24
 **/
public interface ActivityService {

    String add(Activity activity);

    String update(Activity activity);

    void del(Integer activityId);

    ActivityVO findById(Integer activityId);

    ActivityVO findByName(String activityName);

    List<ActivityVO> activityList(Integer status);

    String userFinishActivity(UserActivity userActivity);

    List<Map> userActivityInfo(Integer userId);

    String userCancelActivtiy(UserActivityQO userActivityQO);

    Integer getUserActivityIntegral(Integer userId);




}
